home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
C and C++
/
Libraries
/
usr (gcc 1.37 libs)
/
mac
/
_exit.c
next >
Wrap
C/C++ Source or Header
|
1993-12-10
|
276b
|
22 lines
#include "crtlocal.h"
#include <Scrap.h>
void __exit(int status)
{
closeall();
if (crt_myWindow)
{
TESetSelect(0, 32767, crt_TEH);
ZeroScrap();
TECopy(crt_TEH);
}
ExitToShell();
}
void (*_exit_vec)(int) = __exit;
void _exit(int stat)
{
_exit_vec(stat);
}